package com.basic.gc;

public class GCTest {

	private static final int _1MB = 1024* 1024;
	
	public void testAllocation() {
		byte[] allocation = new byte[30*_1MB];
		byte[] allocation2 = new byte[2*_1MB];
		byte[] allocation3 = new byte[2*_1MB];
		byte[] allocation4 = new byte[4*_1MB];
	}
	
	public static void main(String[] args) {
		while (true) {
			GCTest gcTest = new GCTest();
			gcTest.testAllocation();
		}
	}
}
